home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn RISC PD-CD 1
/
Acorn RISC PD-CD 1.iso
/
languages
/
dde
/
_pc
/
h
/
werr
< prev
next >
Wrap
Text File
|
1992-02-09
|
937b
|
30 lines
(*
* Title : werr.h
* Purpose: provide error reporting in wimp programs
*
*)
#ifndef __werr_h
#define __werr_h
(* ----------------------------------- werr --------------------------------
* Description: Display a (possibly fatal) error message in a pop-up
* dialogue box.
*
* Parameters: int fatal -- non-zero indicates fatal error
* char *format -- printf-style format string
* ... -- variable arg list of message to be printed
* Returns: void.
* Other Info: Program exits if fatal is non-zero
* Pointer is restricted to displayed dialogue box to stop
* user continuing until he has clicked on "OK" buton.
* The message should be divided into at most three lines,
* each of 40 characters or less.
*
*)
procedure werr(fatal : boolean; format : string; ..); extern;
#endif
(* end werr.h *)